package com.stellar.circle.basic.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 帖子点赞表(SPostLike)实体类
 *
 * @author Jqchan
 * @since 2025-05-19 14:23:04
 */
public class SPostLike implements Serializable {
    private static final long serialVersionUID = -12343793955074137L;
    
    /**
     * 点赞ID，主键
     */
    private Long id;
    
    /**
     * 帖子ID（关联s_post表id）
     */
    private Long postId;
    
    /**
     * 点赞用户ID（关联user表id）
     */
    private Long userId;
    
    /**
     * 点赞类型：like-点赞/support-支持等（可扩展）
     */
    private String likeType;
    
    /**
     * 创建时间
     */
    private Date createTime;
    
    /**
     * 创建人
     */
    private String createBy;
    
    /**
     * 修改时间
     */
    private Date updateTime;
    
    /**
     * 修改人
     */
    private String updateBy;
    
    /**
     * 是否删除：1-删除/0-未删除
     */
    private Integer isDeleted;
    


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLikeType() {
        return likeType;
    }

    public void setLikeType(String likeType) {
        this.likeType = likeType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}
